<h2> Detalhes do Professor </h2>
<?php
if(!empty($professor))
{
    echo '<form action="/admin/excluirProfessor/'.$professor["id"].'" method="post">
          <table cellpadding="0" cellspacing="0" border="0" class="form_table">
          <tr>
          <td valign="middle" align="right">Nome:</td>
          <td valign="middle" align="left">'.$professor["nome"].'</td>
          </tr>
          <tr>
          <td valign="middle" align="right">Email:</td>
          <td valign="middle" align="left">'.$professor["email"].'</td>
          </tr>
          <tr>
          <td valign="middle" align="right">Matrícula:</td>
          <td valign="middle" align="left">'.$professor["username"].'</td>
          </tr>
          </table>
          <input type="submit" class="button" value="Excluir" />
          </form>';
}
else
{
    echo '<font color="green">Professor não encontrado!</font>';
}
